package guda.stark.biz.constants;

/**
 * Created by foodoon on 15/8/24.
 */
public class CommonResultCode {

    public static final String SUCCESS = "SUCCESS";
    //未知错误
    public static final String UNKOWN_ERROR = "UNKOWN_ERROR";

    //成对组合的时候错误返回
    public static final String GROUP_ERROR = "GROUP_ERROR";

    public static final String RECORD_REPEAT = "RECORD_REPEAT";

    public static final String NAME_REPEAT = "NAME_REPEAT";

    public static final String RECORD_NOT_FOUND = "RECORD_NOT_FOUND";
    //缺少参数
    public static final String PARAM_MISS = "PARAM_MISS";
    public static final String PRICE_ERROR = "PRICE_ERROR";

    public static final String BRAND_CAN_NOT_DEL_LINK_BY_ITEM = "BRAND_CAN_NOT_DEL_LINK_BY_ITEM";
    public static final String CATEGORY_CANNOT_DEL_LINK_BY_ITEM = "CATEGORY_CANNOT_DEL_LINK_BY_ITEM";

    public static final String USER_NAMEOR_PASS_ERROR = "USER_NAMEOR_PASS_ERROR";

    public static final String STOCK_SHORT = "STOCK_SHORT";

    public static final String RESOURCE_CANNOT_DEL_LINK_BY_ROLE = "RESOURCE_CANNOT_DEL_LINK_BY_ROLE";

    public static final String ROLE_CANNOT_DEL_LINK_BY_USER = "ROLE_CANNOT_DEL_LINK_BY_USER";

}
